home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Languguage OS 2
/
Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO
/
language
/
embedded
/
simulato
/
v2_3_mc6.tz
/
v2_3_mc6
/
testfiles
/
speed.asm
< prev
next >
Wrap
Assembly Source File
|
1994-05-02
|
657b
|
28 lines
;
; speed.asm
; C. Ward 2/7/93
;
; Runs through a loop a few times to run a performance
; test on the simulation. Currently (Sparc station 1+)
; it takes 2 seconds to run.
;
;
ORG $1000
MOVE.L #$00,A0
MOVE.L #$1200,A1
CLR.L (A1)
CLR.L D1
MOVE.L #$1,D0
MOVE.B #$2,D1
SWAP D1
MOVE.B #$0,D1
LOOP SWAP D1
ADDA D0,A0
MULU D1,D1
CMPA.L #$500,A0
BNE LOOP
MOVE.L A0,(A1)
MOVE #228,D7
TRAP #14
END